package org.jash.day7;

import org.jash.day7.entity.DataBean;
import org.jash.day7.entity.DataBeanDao;
import org.jash.day7.mvp.BaseModel;
import org.jash.day7.utils.ConStruct;

import java.util.Collections;
import java.util.List;

public class BlankModel extends BaseModel implements ConStruct.IBlankModel {
    private DataBeanDao dao = App.getSession().getDataBeanDao();
    @Override
    public List<DataBean> getTopHot() {
        return dao.loadAll();
    }
}
